# 上传头歌之前要先在服务器上：find./-typef|xargstouch

SOURCES = main.cc helloworld.cc
OBJECTS = $(SOURCES:.cc=.o)
EXECUTABLE = helloworld

all: $(SOURCES) $(EXECUTABLE)

helloworld: $(OBJECTS)
	g++ $(OBJECTS) -o $@

.cc.o:
	g++ -c -Iinclude $< -o $@

clean:
	rm -rf $(OBJECTS) $(EXECUTABLE)